package indi.zhifa.expshare.class001.chemicalmatch.entity.po;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "material")
@Data
public class ChemicalCompositionMongoData {
    @Id
    String id;
    String productType;
    String itemName;
    String chemicalName;
    String param;
    /**
     * 1. RANK, ABC 等级
     * 2. NUM, 数字
     * 3. NR  直接PASS
     * 4. MISS  空
     *
     */
    String paramType;
    String rank;
    Integer num;

    public String key(){
        return productType +";" + itemName+";" + chemicalName;
    }
}
